﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage_Edit.master" AutoEventWireup="true" CodeFile="ProgressRecord.aspx.cs" Inherits="Customer_ProgressRecord" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="Server">
    客户进度记录
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <div class="ht-panel-edit">
        <table class="ht-edit-table2">
            <tr>
                <th>客户名称：</th>
                <td>
                    <asp:Label ID="lbl_CustomerId" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <th>记录类型：</th>
                <td>
                    <asp:DropDownList ID="ddl_RecordType" runat="server" CssClass="ht-select">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="请选择" ControlToValidate="ddl_RecordType" InitialValue="0"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>进度类型：</th>
                <td>
                    <asp:DropDownList ID="ddl_ProgressType" runat="server" CssClass="ht-select">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="请选择" ControlToValidate="ddl_ProgressType" InitialValue="0"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>记录时间：</th>
                <td>
                    <asp:TextBox ID="txt_RecordTime" runat="server" CssClass="ht-textbox Wdate"
                        onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="不能为空" ControlToValidate="txt_RecordTime"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>记录内容：</th>
                <td>
                    <asp:TextBox ID="txt_RecordContent" runat="server" TextMode="MultiLine" CssClass="ht-area"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="不能为空" ControlToValidate="txt_RecordContent"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>下次跟进时间：</th>
                <td>
                    <asp:TextBox ID="txt_NextRecordTime" runat="server" CssClass="ht-textbox Wdate"
                        onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>下次跟进内容：</th>
                <td>
                    <asp:TextBox ID="txt_NextRecordContent" runat="server" TextMode="MultiLine" CssClass="ht-area"></asp:TextBox>
                </td>
            </tr>
        </table>
    </div>

    <div class="ht-panel-edit" style="margin-top: 5px;">
        <h1 style="font-size: 14px; font-weight: bold; color: #0000ff;">最近跟进记录</h1>
        <div class="ht-panel-grid">
            <asp:Repeater ID="RepeaterList" runat="server">
                <HeaderTemplate>
                    <table class="ht-grid" border="0" style="margin-top: 10px;">
                        <thead>
                            <tr>
                                <th style="width: 140px">记录时间</th>
                                <th style="width: 100px">记录类型</th>
                                <th style="width: 100px">进度类型</th>
                                <th>记录内容</th>
                                <th style="width: 140px">下次跟进时间</th>
                                <th>下次跟进内容</th>
                            </tr>
                        </thead>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td><%#Eval("RecordTime") %></td>
                        <td><%#Eval("RecordTypeName") %></td>
                        <td><%#Eval("ProgressTypeName") %></td>
                        <td><%#Eval("RecordContent") %></td>
                        <td><%#Eval("NextRecordTime") %></td>
                        <td><%#Eval("NextRecordContent") %></td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>

        <div class="ht-pager">
            <webdiyer:AspNetPager ID="PaginateCtl" runat="server" OnPageChanged="PaginateCtl_PageChanged" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Buttoms" runat="Server">
    <asp:LinkButton ID="btn_Save" runat="server" Text="保存" OnClick="btn_Save_Click" CssClass="easyui-linkbutton" data-options="iconCls:'icon-save'" />
    <a id="btn_Back" runat="server" href="javascript:void(0)" onclick="Cancel()" class="easyui-linkbutton" data-options="iconCls:'icon-back'">返回</a>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="Footer" runat="Server">
</asp:Content>

